home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_tripwire.idb / usr / freeware / lib / tripwire / README.hpux.z / README.hpux
Encoding:
Internet Message Format  |  1999-04-16  |  3.4 KB

  1. From boehmer@dso037.sch.ge.com Thu Feb 10 12:13:58 1994
  2. Received: from optima.CS.Arizona.EDU by quercus.cs.arizona.edu; Thu, 10 Feb 1994 12:13:57 MST
  3. Received: from ns.ge.com by optima.CS.Arizona.EDU (5.65c/15) via SMTP
  4.     id AA10403; Thu, 10 Feb 1994 12:13:43 MST
  5. Received: from [3.10.240.61] by ns.ge.com (5.65/GE Gateway 1.18) with SMTP
  6.      id AA05843; Thu, 10 Feb 94 14:02:26 -0500
  7. Message-Id: <9402101902.AA05843@ns.ge.com>
  8. Received: by dso037.sch.ge.com(1.37.109.4/16.2) id AA27790; Thu, 10 Feb 94 14:13:05 -0500
  9. Date: Thu, 10 Feb 94 14:13:05 -0500
  10. From: Eric M. Boehm <boehmer@dso037.sch.ge.com>
  11. To: spaf@cs.purdue.edu
  12. Cc: gkim@cs.arizona.edu
  13. In-Reply-To: <199401281556.KAA22495@uther.cs.purdue.edu> (message from Gene Spafford on Fri, 28 Jan 94 10:56:30 -0500)
  14. Subject: Re: Problems with tripwire-1.1
  15. Status: OR
  16.  
  17. >>>>> "Gene Spafford" == Gene Spafford <spaf@cs.purdue.edu> writes:
  18.  
  19.     Gene Spafford> The clue may be that it is being done on an HP.  There is a
  20.     Gene Spafford> bug in the HP compiler such that if you compile with
  21.     Gene Spafford> optimization, some of the routines no longer work.
  22.  
  23.     Gene Spafford> Eric should ensure that he is using the right config file
  24.     Gene Spafford> and that he is compiling with optimization turned off.
  25.     Gene Spafford> Let's see if that works.
  26.  
  27. Well, I tried again with gcc-2.5.8.u5 (Utah port of gcc) and still get the
  28. following:
  29.  
  30.     gcc -O           -c dbase.update.c
  31.     In file included from ../include/config.h:20,
  32.              from dbase.update.c:15:
  33.     ../include/../configs/conf-hpux.h:15: warning: `_HPUX_SOURCE' redefined
  34.     *Initialization*:1: warning: this is the location of the previous definition
  35.     lex config.pre.l
  36.     lex: warning: Cannot read message catalog; using default language
  37.     mv lex.yy.c config.lex.c
  38.     yacc config.pre.y
  39.     sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c 
  40.     rm y.tab.c
  41.     gcc -O           -c config.pre.c
  42.     In file included from ../include/config.h:20,
  43.              from config.pre.y:40:
  44.     ../include/../configs/conf-hpux.h:15: warning: `_HPUX_SOURCE' redefined
  45.     *Initialization*:1: warning: this is the location of the previous definition
  46.     config.lex.c: In function `__yy__unused':
  47.     In file included from config.pre.y:385:
  48.     config.lex.c:219: too few arguments to function `main'
  49.     make[1]: *** [config.pre.o] Error 1
  50.     make[1]: Leaving directory `/wk0/net/src/tripwire-1.1/src'
  51.     make: *** [all] Error 1
  52.  
  53. As a reminder here are the status updates from a previous message (all are
  54. with HP cc).
  55.  
  56.    Compiled without -O
  57.    === test.update.sh: BEGIN ===
  58.    ../src/tripwire -loosedir -c /tmp/twtest/tw.config -d /tmp/twtest/tw.db -i all
  59.    ../src/tripwire: /tmp/twt: disappeared.  Skipping...
  60.  
  61.    Compiled with -O
  62.    === test.update.sh: BEGIN ===
  63.    ../src/tripwire -loosedir -c /tmp/twtest/tw.config -d /tmp/twtest/tw.db -i all
  64.    ../src/tripwire: : disappeared.  Skipping...
  65.  
  66.    Compiled without -O and with -g
  67.    === test.update.sh: BEGIN ===
  68.    ../src/tripwire -loosedir -c /tmp/twtest/tw.config -d /tmp/twtest/tw.db -i all
  69.    === test.update.sh: testing GROWING (safe) files ===
  70.    === test.update.sh: testing GROWING (unsafe) files ===
  71.  
  72. In summary, I have tried cc with and without -O (did not work); gcc with and
  73. without -ansi (versions 2.4.5 and 2.5.8), with flex and bison, lex and yacc
  74. (none worked). The only thing that did work was HP cc with lex and yacc,
  75. without -O and with -g.
  76.  
  77. I don't know what it all means but I thought you might like to know.
  78. --
  79. Eric
  80.  
  81.